//  -------------------- iSharePoint -------------------- //
// 
//  Company:	IT Complex, LLC
//  Project:	Smart.Common
//  File name:	IRuleCondition.cs
//  Developer:	Solomatov Igor
//  Created:	16.04.2012
// 
//  -------------------- iSharePoint -------------------- //

using System.Collections.Generic;

namespace Smart.Common.Rules
{
	/// <summary>
	/// Rule's condition
	/// </summary>
	public interface IRuleCondition
	{
		/// <summary>
		/// Join type for child conditions
		/// </summary>
		ComparisonOperator Operator { get; }

		/// <summary>
		/// Children conditions
		/// </summary>
		List<IRuleCondition> Children { get; }
	}
}